package org.hy.persistence.global;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.hy.domain.global.Privace;

public interface PrivaceMapper {
	Privace findPrivaceById(Integer id);
	
	List<Privace> findPrivaceByUid(@Param("uid") int uid,@Param("offset")int offset,@Param("size")int size);
	
	int insertPrivace(Privace privace);
	
	int updatePrivace(Privace privace);
	
	int deletePrivace(Integer id);
}
